package org.pb.org.service;

import org.pb.basic.service.IBaseService;
import org.pb.basic.utils.AjaxResult;
import org.pb.basic.utils.PageList;
import org.pb.org.domain.Employee;
import org.pb.org.query.EmployeeQuery;

import java.util.List;

/**
 * 员工表对应的业务层接口
 * @author
 */
public interface IEmployeeService extends IBaseService<Employee, EmployeeQuery> {

    /**
     * 判断用户是否为管理员
     * @param id 用户登陆信息id
     * @return 判断结果
     */
    AjaxResult isAdmin(Long id);

}
